package com.literaryfamily.literaryfamily.entity;

import java.util.Date;

public class UserToken {
    private Integer userId;

    private Long tolenId;

    private String tolen;

    private Date dieTime;

    private Integer type;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getTolenId() {
        return tolenId;
    }

    public void setTolenId(Long tolenId) {
        this.tolenId = tolenId;
    }

    public String getTolen() {
        return tolen;
    }

    public void setTolen(String tolen) {
        this.tolen = tolen == null ? null : tolen.trim();
    }

    public Date getDieTime() {
        return dieTime;
    }

    public void setDieTime(Date dieTime) {
        this.dieTime = dieTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}